package com.wandousoushu.jiusen.ui.my

import android.app.Application
import com.wandousoushu.jiusen.MyApplication
import com.wandousoushu.jiusen.base.BaseViewModel
import com.wandousoushu.jiusen.booksource.data.entities.Book
import com.wandousoushu.jiusen.booksource.model.BookManager

class BookMarkViewModel (application: Application) : BaseViewModel(application) {

    fun AddBooktoShelf(book: Book){
        execute {
            BookManager.GetInstance().AddBooktoShelf(book,2)
        }
    }
}